﻿
namespace Cos.Module.Blog.NHibernate.Test
{
    using Cos.Core.NHibernate;
    using Cos.Core.NHibernate.Tests;

    using NUnit.Framework;

    [TestFixture]
    public class BlogTagArticleDataModelFixture:BlogFixtureBase
    {
        [Test]
        public void CanMapBlogTagArticleDataModel()
        {
            new PersistenceSpecification<BlogTagArticleDataModel>(Session)
                .CheckProperty(x => x.ArticleCultureId, 1)
                .CheckProperty(x => x.TagId, 2)
                .VerifyTheMappings();
        }
    }
}
